Enabling efficient communication in a hybrid network

ABSTRACT

A method including determining, by a first device having an established virtual private network (VPN) connection with a VPN server and an established meshnet connection with a second device in a mesh network, a transmission packet to be transmitted by the first device; and transmitting, by the first device, the transmission packet to the second device utilizing the meshnet connection based at least in part on determining that a destination associated with the transmission packet is the second device or to the VPN server utilizing the VPN connection based at least in part on determining that the destination associated with the transmission packet is a device other than the second device. Various other aspects are contemplated.

CROSS REFERENCE

This application is a continuation of U.S. Non-Provisional patentapplication Ser. No. 17/556,886, filed on Dec. 20, 2021, and titled“Enabling Efficient Communication In A Hybrid Network,” the entirecontents of which are incorporated herein by reference.

FIELD OF DISCLOSURE

Aspects of the present disclosure generally relate to communications innetworks, and more particularly to enabling efficient communication in ahybrid network including a virtual private network and a mesh network.

BACKGROUND

Global Internet users increasingly rely on VPN services to preservetheir privacy, to circumvent censorship, and/or to access geo-filteredcontent. Originally developed as a technology to privately send andreceive data across public networks, VPNs are now used broadly as aprivacy-preserving technology that allows Internet users to obscure notonly the communicated data but also personal information such as, forexample, web browsing history from third parties including Internetservice providers (ISPs), Spywares, or the like. A VPN service providermay offer a secure private networking environment within a publiclyshared, insecure infrastructure through encapsulation and encryption ofthe data communicated between a VPN client application (or VPNapplication) installed on a user device and a remote VPN server.

Most VPN providers rely on a tunneling protocol to create the secureprivate networking environment, which adds a layer of security toprotect each IP packet of the communicated data during communicationover the Internet. Tunneling may be associated with enclosing an entireIP packet within an outer IP packet to form an encapsulated IP packet,and transporting the enclosed IP packet over the Internet. The outer IPpacket may protect contents of the enclosed IP packet from public viewby ensuring that the enclosed IP packet is transmitted over the Internetwithin a virtual tunnel. Such a virtual tunnel may be a point-to-pointtunnel established between the user device and the VPN server. Theprocess of enclosing the entire IP packet within the outer IP packet maybe referred to as encapsulation. Computers, servers, or other networkdevices at ends of the virtual tunnel may be referred to as tunnelinterfaces and may be capable of encapsulating outgoing IP packets andof unwrapping incoming encapsulated IP packets.

Encryption may be associated with changing the data from being in atransparently readable format to being in an encoded, unreadable formatwith the help of an encryption algorithm. Decryption may be associatedwith changing the data from being in the encoded, unreadable format tobeing in the transparently readable format with the help of a decryptionalgorithm. In an example, encoded/encrypted data may bedecoded/decrypted with only a correct decryption key. In a VPN,encryption may render the communicated data unreadable or indecipherableto any third party. At a basic level, when the user launches theinstalled client application and connects to the VPN server, the clientapplication may encrypt all contents of the data before transmissionover the Internet to the VPN server. Upon receipt, the VPN server maydecrypt the encrypted data and forward the decrypted data to an intendedtarget via the Internet. Similarly, the VPN server may encrypt allcontents of the data before transmission over the Internet to the userdevice. Upon receipt, the client application on the user device maydecrypt the encrypted data and provide the decrypted data to the user.

VPNs generally use different types of encryption and decryptionalgorithms to encrypt and decrypt the communicated data. Symmetricencryption may utilize encryption and decryption algorithms that rely ona single private key for encryption and decryption of data. Symmetricencryption is considered to be relatively speedy. One example of anencryption and decryption algorithm utilized by symmetric encryption maybe an AES encryption cipher. Asymmetric encryption, on the other hand,may utilize encryption and decryption algorithms that rely on twoseparate but mathematically-related keys for encryption and decryptionof data. In one example, data encrypted using a public key may bedecrypted using a separate but mathematically-related private key. Thepublic key may be publicly available through a directory, while theprivate key may remain confidential and accessible by only an owner ofthe private key. Asymmetric encryption may also be referred to as publickey cryptography. One example of an encryption and decryption algorithmutilized by asymmetric encryption may be Rivest-Shamir-Adleman (RSA)protocol.

In a VPN, keys for encryption and decryption may be randomly generatedstrings of bits. Each key may be generated to be unique. A length of anencryption key may be given by a number of the randomly generated stringbits, and the longer the length of the encryption key, the stronger theencryption is.

VPNs may employ user authentication, which may involve verification ofcredentials required to confirm authenticity/identity of the user. Forinstance, when a user launches the client application to request a VPNconnection, the VPN service provider may authenticate the user deviceprior to providing the user device with access to VPN services. In thisway, user authentication may provide a form of access control.Typically, user authentication may include verification of a uniquecombination of a user ID and password. To provide improved security inthe VPN, user authentication may include additional factors such asknowledge, possession, inheritance, or the like. Knowledge factors mayinclude items (e.g., pin numbers) that an authentic user may be expectedto know. Possession factors may include items (e.g., one-time password(OTP) tokens) that an authentic user may be expected to possess at atime associated with the authentication. Inherent factors may includebiometric items (e.g., fingerprint scans, retina scans, iris scans, orthe like) that may be inherent traits of an authentic user.

A VPN may be associated with a network of VPN servers, typicallydeployed in various geographic locations. A VPN server may be a physicalserver or a virtual server configured to host and/or globally deliverVPN services to the user. A server may be a combination of hardware andsoftware, and may include logical and physical communication ports. Whenlaunched, the client application may connect with a selected VPN serverfor secure communication of data via the virtual tunnel.

The client application, installed on the user device, may utilizesoftware-based technology to establish a secure connection between theuser device and a VPN server. Some client applications may automaticallywork in the background on the user device while other clientapplications may include front-end interfaces to allow the user tointeract with and configure the client applications. Client applicationsmay often be installed on a computer (e.g., user device), though someentities may provide a purpose-built client application as a hardwaredevice that is pre-installed with software to enable the VPN. Typically,a client application may utilize one or more VPN protocols to encryptand decrypt the communicated data. Some commonly used VPN protocols mayinclude OpenVPN, SSTP, PPTP, L2TP/IPsec, SSL/TLS, Wireguard, IKEv2, andSoftEther.

Additionally, users may rely on mesh networks (also referred to as“meshnets”) to communicate (e.g., transmit and/or receive) data among aplurality of endpoints (e.g., user devices) via one or more Internetnodes (e.g., bridges, switches, infrastructure devices, etc.). In anexample, a mesh network may include a plurality of endpointscommunicatively coupled to each other directly or via the one or moreInternet nodes. A mesh network in which all endpoints arecommunicatively coupled to each other may be referred to as a fullyconnected mesh network. Data transmitted by a first endpoint, from amongthe plurality of endpoints, may be routed over the Internet via the oneor more Internet nodes to a second endpoint from among the plurality ofendpoints. Also, data transmitted by the first endpoint may be routed totwo or more endpoints from among the plurality of endpoints.

In a mesh network, the plurality of endpoints may cooperate with eachother to enable communication of the data among the plurality ofendpoints. In an example, one or more of the endpoints may participatein communication of the data. In this way, the mesh network may avoidrelying on a given endpoint for communication of the data. Some meshnetworks may have the ability to dynamically self-organize andself-configure the plurality of endpoints. This ability may allow suchmesh networks to enable dynamic distribution of workloads, particularlyin the event that one or more endpoints should fail.

SUMMARY

In one aspect, the present disclosure contemplates a method includingdetermining, by a processor having an established virtual privatenetwork (VPN) connection with a VPN server and an established meshnetconnection with an endpoint in a mesh network, that a destinationassociated with a transmission packet to be transmitted by the device isthe endpoint; and transmitting, by the processor, the transmissionpacket utilizing the meshnet connection based at least in part ondetermining that the destination is the endpoint.

In another aspect, the present disclosure contemplates a deviceincluding a memory and a processor, the memory and the processor havingan established virtual private network (VPN) connection with a VPNserver and an established meshnet connection with an endpoint in a meshnetwork, and being configured to: determine that a destinationassociated with a transmission packet to be transmitted by the device isthe endpoint; and transmit the transmission packet utilizing the meshnetconnection based at least in part on determining that the destination isthe endpoint.

In another aspect, the present disclosure contemplates a non-transitorycomputer readable medium storing instructions, which when executed by aprocessor having an established virtual private network (VPN) connectionwith a VPN server and an established meshnet connection with an endpointin a mesh network, cause the processor to: determine that a destinationassociated with a transmission packet to be transmitted by the device isthe endpoint; and transmit the transmission packet utilizing the meshnetconnection based at least in part on determining that the destination isthe endpoint.

It is to be understood that both the foregoing general description andthe following detailed description are exemplary and explanatory innature and are intended to provide an understanding of the presentdisclosure without limiting the scope thereof. In that regard,additional aspects, features, and advantages of the present disclosurewill be apparent to one skilled in the art from the following detaileddescription.

BRIEF DESCRIPTION OF THE DRAWINGS

The accompanying drawings illustrate aspects of systems, devices,methods, and/or mediums disclosed herein and together with thedescription, serve to explain the principles of the present disclosure.Throughout this description, like elements, in whatever aspectdescribed, refer to common elements wherever referred to and referencedby the same reference number. The characteristics, attributes,functions, interrelations ascribed to a particular element in onelocation apply to those elements when referred to by the same referencenumber in another location unless specifically stated otherwise.

The figures referenced below are drawn for ease of explanation of thebasic teachings of the present disclosure; the extensions of the figureswith respect to number, position, relationship, and dimensions of theparts to form the following aspects may be explained or may be withinthe skill of the art after the following description has been read andunderstood. Further, exact dimensions and dimensional proportions toconform to specific force, weight, strength, and similar requirementswill likewise be within the skill of the art after the followingdescription has been read and understood.

The following is a brief description of each figure used to describe thepresent disclosure, and thus, is being presented for illustrativepurposes only and should not be limitative of the scope of the presentdisclosure.

FIG. 1 is an illustration of an example system associated with enablingefficient communication in a hybrid network, according to variousaspects of the present disclosure.

FIG. 2 is an illustration of an example associated with enablingefficient communication in a hybrid network, according to variousaspects of the present disclosure.

FIG. 3 is an illustration of an example flow associated with enablingefficient communication in a hybrid network, according to variousaspects of the present disclosure.

FIG. 4 is an illustration of an example process associated with enablingefficient communication in a hybrid network, according to variousaspects of the present disclosure.

FIG. 5 is an illustration of an example process associated with enablingefficient communication in a hybrid network, according to variousaspects of the present disclosure.

FIG. 6 is an illustration of an example process associated with enablingefficient communication in a hybrid network, according to variousaspects of the present disclosure.

FIG. 7 is an illustration of an example process associated with enablingefficient communication in a hybrid network, according to variousaspects of the present disclosure.

FIG. 8 is an illustration of an example process associated with enablingefficient communication in a hybrid network, according to variousaspects of the present disclosure.

FIG. 9 is an illustration of example devices associated with enablingefficient communication in a hybrid network, according to variousaspects of the present disclosure.

DETAILED DESCRIPTION

For the purposes of promoting an understanding of the principles of thepresent disclosure, reference will now be made to the aspectsillustrated in the drawings, and specific language may be used todescribe the same. It will nevertheless be understood that no limitationof the scope of the disclosure is intended. Any alterations and furthermodifications to the described devices, instruments, methods, and anyfurther application of the principles of the present disclosure arefully contemplated as would normally occur to one skilled in the art towhich the disclosure relates. In particular, it is fully contemplatedthat the features, components, and/or steps described with respect toone aspect may be combined with the features, components, and/or stepsdescribed with respect to other aspects of the present disclosure. Forthe sake of brevity, however, the numerous iterations of thesecombinations may not be described separately. For simplicity, in someinstances the same reference numbers are used throughout the drawings torefer to the same or like parts.

FIG. 1 is an illustration of an example 100 associated with enablingefficient communication in a hybrid network, according to variousaspects of the present disclosure. Example 100 shows an architecturaldepiction of included components. In some aspects, the components mayinclude one or more user devices 102 capable of communicating with a VPNservice provider (VSP) control infrastructure 104 and with one or moreVPN servers 120 for obtaining VPN services and/or mesh network services.The one or more user devices 102 may communicate with the VSP controlinfrastructure 104 and with the one or more VPN servers 120 over anetwork 118. The VSP control infrastructure 104 may be controlled by aVPN service provider and may include an application programminginterface (API) 106, a user database 108, a processing unit 110, aserver database 112, and the one or more VPN servers 120. As shown inFIG. 1 , the API 106 may be capable of communicating with the userdatabase 108 and with the processing unit 110. Additionally, theprocessing unit 110 may be capable of communicating with the serverdatabase, which may be capable of communicating with a testing module(not shown). The testing module may be capable of communicating with theone or more VPN servers 120 over the network 118. The processing unit110 may be capable of configuring and controlling operation of the oneor more VPN servers 120 and of an authentication server (not shown). Insome aspects, the one or more VPN servers 120 may be configured tocommunicate with the authentication server to authenticate a user device102 prior to providing the VPN services and/or mesh network services.

The user device 102 may be a physical computing device capable ofhosting a client application and of connecting to the network 118. Theuser device 102 may be, for example, a laptop, a mobile phone, a tabletcomputer, a desktop computer, a smart device, a router, or the like. Insome aspects, the user device 102 may include, for example,Internet-of-Things (IoT) devices such as VSP smart home appliances,smart home security systems, autonomous vehicles, smart health monitors,smart factory equipment, wireless inventory trackers, biometric cybersecurity scanners, or the like. The network 118 may be any digitaltelecommunication network that permits several nodes to share and accessresources. In some aspects, the network 118 may include one or more of,for example, a local-area network (LAN), a wide-area network (WAN), acampus-area network (CAN), a metropolitan-area network (MAN), ahome-area network (HAN), Internet, Intranet, Extranet, and Internetwork.

The VSP control infrastructure 104 may include a combination of hardwareand software components that enable provision of the VPN services and/ormesh network services to the user device 102. The VSP controlinfrastructure 104 may interface with (the client application 114 on)the user device 102 via the API 106, which may include one or moreendpoints to a defined message system. In some aspects, the API 106 maybe configured to receive, via the network 118, a connection request fromthe user device 102 to establish a VPN connection with a VPN server 120.The connection request may include an authentication request toauthenticate the user device 102 and/or a request for an entry IPaddress of an optimal VPN server for establishment of the VPN connectiontherewith. In some aspects, an optimal VPN server may be a single VPNserver 120 or a combination of one or more VPN servers 120. The API 106may receive the authentication request and the request for the entry IPaddress of the optimal VPN server in a single connection request. Insome aspects, the API 106 may receive the authentication request and therequest for the entry IP address of the optimal VPN server in separateconnection requests.

The API 106 may further be configured to handle the connection requestby mediating the authentication request. For instance, the API 106 mayreceive from the user device 102 credentials including, for example, aunique combination of a user ID and password (associated with aregistered account) for purposes of authenticating the user device 102.In another example, the credentials may include a unique validation codeknown to an authentic user. The API 106 may provide the receivedcredentials to the user database 108 for verification.

The user database 108 may include a structured repository of validcredentials associated with registered accounts. In one example, thestructured repository may include one or more tables containing validunique combinations of user IDs and passwords (e.g., password hashes)associated with registered accounts. In another example, the structuredrepository may include one or more tables containing valid uniquevalidation codes associated with registered accounts. The VPN serviceprovider may add, delete, and/or modify such valid unique combinationsof user IDs and passwords from the structured repository. Based at leastin part on receiving the credentials from the API 106, the user database108 and a processor (e.g., the processing unit 110 or another local orremote processor) may verify the received credentials by matching thereceived credentials with the valid credentials stored in the structuredrepository. In some aspects, the user database 108 and the processor mayauthenticate the user device 102 when the received credentials match atleast one of the valid credentials. In this case, the VPN serviceprovider may enable the user device 102 to obtain the VPN servicesand/or mesh network services. When the received credentials fail tomatch at least one of the valid credentials, the user database 108 andthe processor may fail to authenticate the user device 102. In thiscase, the VPN service provider may decline to provide the VPN servicesand/or mesh network services to the user device 102.

When the user device 102 is authenticated, the user device 102 mayinitiate a VPN connection and may transmit to the API 106 a request forthe entry IP address of an optimal VPN server. The processing unit 110included in the VSP control infrastructure may be configured todetermine/identify a single VPN server 120 as the optimal server or alist of VPN servers. The processing unit 110 may utilize the API 106 totransmit the IP address of the optimal server or IP addresses of the VPNservers 120 included in the list to the user device 102. In the casewhere the list of IP addresses of the VPN servers 120 is provided, theuser device 102 may have an option to select a single VPN server 120from among the listed VPN servers as the optimal server 120.

In some aspects, the processing unit 110 may be a logical unit includinga scoring engine. The processing unit 110 may include a logicalcomponent configured to perform complex operations to compute numericalweights related to various factors associated with the VPN servers 120.The scoring engine may likewise include a logical component configuredto perform arithmetical and logical operations to compute a serverpenalty score for one or more of the VPN servers 120. In some aspects,based at least in part on server penalty scores calculated utilizing thecomplex operations and/or the arithmetical and logical operations, theprocessing unit 110 may determine an optimal VPN server. In one example,the processing unit 110 may determine the VPN server 120 with the lowestserver penalty score as the optimal VPN server. In another example, theprocessing unit 110 may determine the list of optimal VPN servers byincluding, for example, three (or any other number) VPN servers 120 withthe three lowest server penalty scores.

The user device 102 may transmit to the optimal VPN server an initiationrequest to establish a VPN connection (e.g., an encrypted tunnel) withthe optimal VPN server. The optimal VPN server with which the userdevice establishes the encrypted tunnel may be referred to as a primaryVPN server or an entry VPN server. Based at least in part on receivingthe initiation request, the optimal VPN server may conduct a VPNauthentication with the authentication server to authenticate the userdevice 102 as a device that may receive the VPN services from theoptimal VPN server. When the VPN authentication is successful, theoptimal VPN server may proceed to provide the VPN services and/or meshnetwork services to the user device 102. Alternatively, when the VPNauthentication fails, the optimal VPN server may refrain from providingthe VPN services and/or mesh network services to the user device 102and/or may communicate with the user device 102 to obtain additionalinformation to authenticate the user device 102.

In some aspects, a VPN server 120 may include a piece of physical orvirtual computer hardware and/or software capable of securelycommunicating with (the VPN client application on) the user device 102for provision of VPN services. Similarly, the authentication server mayinclude a piece of physical or virtual computer hardware and/or softwarecapable of securely communicating with one or more VPN servers 120 forprovision of authentication services.

With respect to mesh network services, the processing unit 110 includedin the VSP control infrastructure 104 may be configured to determine amesh network associated with the user device 102 and/or to identify oneor more user devices to be included within the determined mesh network.The processing unit 110 may utilize the API 106 to transmit informationassociated with the mesh network and/or the identified one or more userdevices to the user device 102. The user device 102 may transmit aninitiation request to establish meshnet connections (e.g., encryptedmedium) with the one or more user devices. In some aspects, the one ormore user devices with which the user device 102 establishes the meshnetconnections may also host respective client applications forcommunicating with the VSP control infrastructure 104 and/or with theuser device 102.

One or more components (e.g., API 106, user database 108, processingunit 110, and/or server database 112, processing unit 116) included inthe VSP control infrastructure 104 and/or included in the user device102 may further be associated with a controller/processor, a memory, acommunication interface, or a combination thereof (e.g., FIG. 9 ). Forinstance, the one or more components of the set of components mayinclude or may be included in a controller/processor, a memory, or acombination thereof. In some aspects, the one or more of the componentsincluded in the VSP control infrastructure 104 and/or the user device102 may be separate and distinct from each other. Alternatively, in someaspects, one or more of the components included in the VSP controlinfrastructure 104 and/or the user device 102 may be combined with oneor more of other components included in the VSP control infrastructure104. In some aspects, the one or more of the components included in theVSP control infrastructure 104 and/or the user device 102 may be localwith respect to each other. Alternatively, in some aspects, one or moreof the components included in the VSP control infrastructure 104 and/orthe user device 102 may be located remotely with respect to one or moreof other components included in the VSP control infrastructure 104and/or the user device 102. Additionally, or alternatively, one or morecomponents of the components included in the VSP control infrastructure104 and/or the user device 102 may be implemented at least in part assoftware stored in a memory. For example, a component (or a portion of acomponent) may be implemented as instructions or code stored in anon-transitory computer-readable medium and executable by a controlleror a processor to perform the functions or operations of the component.Additionally, or alternatively, a set of (one or more) components shownin FIG. 1 may be configured to perform one or more functions describedas being performed by another set of components shown in FIG. 1 .

As indicated above, FIG. 1 is provided as an example. Other examples maydiffer from what is described with regard to FIG. 1 .

One or more user devices may rely on a mesh network to communicate(e.g., transmit and/or receive) data. In example 200 shown in FIG. 2 , afirst user device, a second user device, a third user device, and afourth user device may rely on a mesh network to communicate data witheach other. The data may be communicated using wired communicationsand/or wireless communications over a network such as, for example, theInternet. The communicated data may include any information includingdigital information such as, for example, files, documents, text data,voice data, image data, signal data, and/or video data. Further, themesh network may be a secure mesh network that may enable the userdevices to communicate the data in encrypted form. To communicate thedata, the one or more user devices may utilize respective mesh clientapplications.

Although the mesh network may enable the communicated data to beencrypted, information communicated outside the mesh network may takeplace over the open Internet (e.g., clearnet) in unencrypted form. Insome cases, the information may include private information (e.g.,locations of the one or more user devices, private/sensitive informationassociated with users of the one or more user devices, or the like)associated with the user devices. In this case, the informationcommunicated outside the mesh network may be monitored and/orintercepted by a malicious third party. Such monitoring and/orinterception may allow the malicious third party to discover, track, andmanipulate the private information. As a result, the private informationmay become compromised, and the one or more user devices may be unableto, among other things, privately send and receive data across publicnetworks.

To mitigate instances of the private information becoming compromised,the one or more user devices may utilize respective VPN clientapplications to establish a VPN connection and to privately send andreceive data across the clearnet. In the example 200 shown in FIG. 2 ,the first user device may utilize a first VPN client application toestablish an encrypted tunnel (e.g., a VPN connection) with a VPNserver, as discussed elsewhere herein, to privately send and receivedata across the clearnet.

Once the first user device has established the encrypted tunnel with theVPN server, all communications transmitted by the first user device maybe intercepted by the VPN client application and may be transmitted viathe encrypted tunnel. Such communications may include data transmittedto the one or more user devices in the mesh network. In an example, datatransmitted by the first user device to the second user device (and/orto the third user device and/or to the fourth user device) utilizing themeshnet client application may be intercepted by the VPN clientapplication and may be transmitted via the encrypted tunnel to the VPNserver, which may then relay the data to the second user device (and/orto the third user device and/or to the fourth user device).

The relay of data, transmitted by the first device to the second userdevice, via the VPN server may result in inefficient utilization of VPNresources (e.g., processing resources, management resources, memoryresources, network bandwidth, power consumption, etc.), which mayotherwise be utilized to perform suitable tasks associated withproviding VPN services. Additionally, a plurality of hops may beunnecessarily added between the first user device and the second userdevice, thereby increasing consumption of network resources (e.g.,internet nodes, etc.) and introducing a delay in the data being receivedby the second user device. The relay of data may also result inunderutilization of existing mesh network resources (e.g., connectionbetween the first user device and the second user device) that arededicated for communication of data between the first user device andthe second user device. Further, a user device may have to utilize amesh client application to securely communicate data in the mesh networkand utilize a separate, VPN client application to privately communicatedata via the VPN network.

Various aspects of systems and techniques discussed in the presentdisclosure may enable efficient communication in a hybrid network, whichmay include a VPN network and a secure mesh network enabled by a VSPcontrol infrastructure. In some aspects, the VSP control infrastructuremay configure and provide a single client application to be installed ona user device. The single client application may enable the user deviceto securely and efficiently communicate data via the VPN network and viathe secure mesh network. In an example, the single client applicationmay enable the user device to establish an encrypted tunnel (e.g., VPNconnection) with a VPN server to communicate encrypted data over theclearnet and to establish one or more meshnet connections with one ormore endpoints included in the secure mesh network to communicateencrypted data within the secure mesh network. In some aspects, theclient application may determine, based at least in part on determininga destination of a transmission packet (e.g., packet transmitted by theuser device), whether the transmission packet is to be transmitted viathe encrypted tunnel or via the one or more meshnet connections. Whenthe client application determines that the destination of thetransmission packet is the one or more endpoints in the mesh network,the client application may transmit the transmission packet via the oneor more meshnet connections to the one or more endpoints. Alternatively,when the client application determines that the destination of thetransmission packet is a device other than the one or more endpoints,the client application may transmit the transmission packet via theencrypted tunnel to the VPN server. In this way, the VSP controlinfrastructure and the client application may avoid communicationstransmitted by the user device to the one or more endpoints beingtransmitted via the encrypted tunnel and the VPN server. As a result,the VSP control infrastructure and the client application may enableefficient utilization of VPN resources (e.g., processing resources,management resources, memory resources, network bandwidth, powerconsumption, etc.) to perform suitable tasks associated with providingVPN services and/or mesh network services. Additionally, the VSP controlinfrastructure and the client application may avoid unnecessary additionof a plurality of hops between the user device and the one or moreendpoints, thereby mitigating increase in consumption of networkresources and avoiding introducing a delay in the data being received bythe one or more endpoints. The VSP control infrastructure and the clientapplication may also enable optimum utilization of existing mesh networkresources (e.g., connection between the first user device and the seconduser device) that are dedicated for communication of data between theuser device and the one or more endpoints. Further, a single clientapplication provided by the VSP control infrastructure may enable theuser device to securely communicate data in the mesh network and toprivately communicate data via the VPN network, thereby enablingconservation and efficient utilization of user device resources (e.g.,processing resources, memory resources, power consumption, battery life,etc.).

In some aspects, a processor (e.g., processing unit 116) associated witha user device may establish a virtual private network (VPN) connectionwith a VPN server and a meshnet connection with an endpoint in a meshnetwork, and may be configured to: determine that a destinationassociated with a transmission packet to be transmitted by the device isthe endpoint; and transmit the transmission packet utilizing the meshnetconnection based at least in part on determining that the destination isthe endpoint.

FIG. 3 is an illustration of an example flow 300 associated withenabling a secure mesh network, according to various aspects of thepresent disclosure. The example flow 300 may include a first user device(e.g., first endpoint), a VSP control infrastructure 104, and a seconduser device (e.g., second endpoint) in communication with each other. Insome aspects, the first user device and the second user device may besimilar to a user device 102 discussed above with respect to FIG. 1 .The first user device and the second user device may be located locally(e.g., in the same room, in the same building, etc.) or maybe locatedremotely (e.g., in different buildings, in different cities, indifferent states, in different countries, etc.) with respect to eachother. In some aspects, the first user device may install a first clientapplication (e.g., client application 114) and the second user devicemay install a second client application (e.g., client application 114),the first client application and the second client application beingassociated with the VSP control infrastructure 104. The first userdevice and the second user device may use the respective clientapplications to communicate with an application programming interface(API) and a processor (e.g., processing unit 110, processor 920)associated with the VSP control infrastructure 104. In some aspects, thefirst user device, the VSP control infrastructure 104, and the seconduser device may communicate with each other over a network (e.g.,network 118). As discussed elsewhere herein, the VSP controlinfrastructure may enable the first user device and/or the second userdevice to obtain VPN services and/or mesh network services. Althoughonly two user devices (e.g., endpoints) are discussed with respect toFIG. 3 , the present disclosure contemplates the VSP controlinfrastructure 104 to provide the VPN services and/or mesh networkservices to any number of user devices.

In some aspects, the client applications may enable the user devices toreceive information to be processed by the client applications and/or bythe VSP control infrastructure 104. Each of the client applications mayinclude respective graphical user interfaces to receive the informationvia local input interfaces (e.g., touch screen, keyboard, mouse,pointer, etc.) associated with the user devices. The information may bereceived via text input or via a selection from among a plurality ofoptions (e.g., pull down menu, etc.). In some aspects, the first clientapplication and/or the second client application may activate and/orenable, at a time associated with the registration (e.g., after theregistration), the graphical interface for receiving the information.For instance, the first client application (or the second clientapplication) may cause a screen (e.g., local screen) associated with thefirst user device (or the second user device) to display, for example, apop-up message to request entry of the information. Further, the clientapplications may enable transmission of at least a portion of theinformation to the VSP control infrastructure 104. In some aspects, thefirst client application may utilize a first processing unit (e.g.,processing unit 116) included in the first user device to performprocesses/operations associated with obtaining the VPN services and/ormesh network services and the second application may utilize a secondprocessing unit (e.g., processing unit 116) included in the second userdevice to perform processes/operations associated with obtaining the VPNservices and/or mesh network services.

As shown by reference numeral 310, the first user device may register afirst account with the VSP control infrastructure 104 and the seconduser device may register a second account with the VSP controlinfrastructure 104. In some aspects, during registration, the first userdevice may provide registration information such as, for example,identity of an owner of the first user device, a phone number associatedwith the first user device, an email address associated with the firstuser device, or the like. In some aspects, the first user device may setup an access system including login information (e.g., accessinformation) such as, for example, username, password, or the like tosubsequently gain access to the first account. Similarly, duringregistration, the second user device may provide registrationinformation such as, for example, identity of an owner of the seconduser device, a phone number associated with the second user device, anemail address associated with the second user device, or the like. Insome aspects, the second user device may set up an access systemincluding login information (e.g., access information) such as, forexample, username, password, or the like to subsequently gain access tothe second account. In some aspects, the first user device and thesecond user device may be associated with a single registered accountand may utilize the associated access system including login informationto access the single registered account.

As shown by reference numeral 320, the first client application and thesecond client application may determine information based at least inpart on the registration of the respective accounts with the VSP controlinfrastructure 104. In an example, the first client application maydetermine a first asymmetric assigned key pair associated with the firstuser device. The first assigned key pair may be unique to the first userdevice and may include a first assigned public key and a first assignedprivate key. In this way, the first assigned public key and the firstassigned private key may be device-specific and maybe associated withthe first account. In some aspects, the first assigned public key andthe first assigned private key may be associated with each other via,for example, a mathematical function. As a result, data encrypted usingthe first assigned public key may be decrypted by utilizing the firstassigned private key.

Similarly, the second client application may determine a secondasymmetric assigned key pair associated with the second user device. Thesecond assigned key pair may be unique to the second user device and mayinclude a second assigned public key and a second assigned private key.In this way, the second assigned public key and the second assignedprivate key may be device-specific and maybe associated with the secondaccount. In some aspects, the second assigned public key and the secondassigned private key may be associated with each other via, for example,a mathematical function. As a result, data encrypted using the secondassigned public key may be decrypted by utilizing the second assignedprivate key.

The first user device and the second user device may use the respectivelogin information to access the respective accounts and to communicatewith the VSP control infrastructure 104. As shown by reference numeral330, the client applications may transmit, and the VSP controlinfrastructure 104 may receive, at least a portion of the informationdetermined by the client applications. For instance, the first clientapplication may transmit, for example, the first assigned public key tothe VSP control infrastructure 104. Additionally, the first clientapplication may determine a first public IP address associated with thefirst user device and may transmit the first public IP address to theVSP control infrastructure 104. In some aspects, the first public IPaddress may include an IP address assigned by an Internet serviceprovider (ISP) associated with providing network services to the firstuser device and the second public IP address may include an IP addressassigned by an ISP associated with providing network services to thesecond user device. In some aspects, the first user device may utilizethe first public IP address to communicate over the Internet. Similarly,the second client application may transmit, for example, the secondassigned public key to the VSP control infrastructure 104. Additionally,the second client application may determine a second public IP addressassociated with the second user device and may transmit the secondpublic IP address to the VSP control infrastructure 104. In someaspects, the first public IP address may include an IP address assignedby an Internet service provider (ISP) associated with providing networkservices to the first user device and the second public IP address mayinclude an IP address assigned by an ISP associated with providingnetwork services to the second user device. In some aspects, the firstuser device may utilize the first public IP address to communicate overthe Internet (e.g., clearnet).

In some aspects, the VSP control infrastructure 104 may determine thefirst public IP address associated with the first user device and thesecond public IP address associated with the second user device. In anexample, the VSP control infrastructure 104 may determine the firstpublic IP address based at least in part on inspecting a firstcommunication (e.g., IP packet) including the first assigned public keyreceived from the first user device. In some aspects the firstcommunication may include, for example, a header that indicates thefirst public IP address as a source IP address associated with the firstuser device. Similarly, the VSP control infrastructure 104 may determinethe second public IP address based at least in part on inspecting asecond communication (e.g., IP packet) including the second assignedpublic key received from the second user device. In some aspects thesecond communication may include, for example, a header that indicatesthe second public IP address as a source IP address associated with thesecond user device.

The VSP control infrastructure 104 may store and correlate the receivedinformation in association with the respective registered accountsand/or with the respective user devices. For instance, the VSP controlinfrastructure 104 may store and correlate the first assigned public keyand the first public IP address in association with the first accountand/or the first user device, and may store and correlate the secondassigned public key and the second public IP address in association withthe second account and/or the second user device.

In some aspects, as discussed elsewhere herein, the first user devicemay transmit a request to receive the VPN services and/or the meshnetwork services from the VSP control infrastructure 104. Based at leastin part on receiving the request, as shown by reference numeral 340, theVSP control infrastructure 104 may enable the first user device toestablish a connection with a VPN server associated with the VSP controlinfrastructure 104 (e.g., FIG. 1 ).

Further, as shown by reference numeral 350, the VSP controlinfrastructure 104 may determine that the first user device and thesecond user device are to be included in a given (e.g., same) securemesh network. In some aspects, the VSP control infrastructure 104 maymake such a determination regarding the secure mesh network based atleast in part on the first client application (or the second clientapplication) transmitting information indicating that the first userdevice and the second user device are to be included in the same securemesh network. Such information may include, for example, identificationinformation (e.g., type of device, etc.) associated with the second userdevice and/or the second account (or the first user device and/or thefirst account), the second public IP address (or the first public IPaddress), information associated with the ISP associated with providingnetwork services to the second user device (or to the first userdevice), or the like.

In some aspects, the VSP control infrastructure 104 may make such adetermination regarding the secure mesh network based at least in parton determining that the first user device and the second user device arecommunicating with the VSP control infrastructure utilizing the sameregistered account. In an example, the first user device (or the seconduser device) may share login information associated with the firstaccount (or the second account) with the second user device (or thefirst user device) to enable the second user device (or the first userdevice) to utilize the login information to gain access to the VSPcontrol infrastructure 104 via the first account (or the secondaccount). In some aspects, the second user device may be associated withthe first user device because the second user device may be available toa user/owner of the first user device.

Based at least in part on determining that the first user device and thesecond user device are to be included in the same secure mesh network,the VSP control infrastructure 104 may determine a first mesh net IPaddress associated with the first user device and a second mesh net IPaddress associated with the second user device. In some aspects, thefirst client application may utilize the first meshnet IP address tocommunicate data with one or more endpoints included in the secure meshnetwork and the second client application may utilize the second meshnetIP address to communicate with the one or more endpoints included in thesecure mesh network. The VSP control infrastructure 104 may determinethe first meshnet IP address and the second meshnet IP address from, forexample, IP addresses included in a subnet associated with an internalnetwork of the ISP. In some aspects, the VSP control infrastructure 104may determine the first meshnet IP address and the second meshnet IPaddress from a pool of available reserved IP addresses.

Based at least in part on determining that the first user device and thesecond user device are to be included in the same secure mesh networkand/or on the determining the first meshnet IP address and the secondmeshnet IP address, as shown by reference numeral 360, the VSP controlinfrastructure 104 may transmit, and the first user device may receive,the second assigned public key, the second public IP address, and thesecond meshnet IP address associated with the second user device.Similarly, based at least in part on determining that the first userdevice and the second user device are to be included in the same securemesh network and/or on the determining the first meshnet IP address andthe second meshnet IP address, as shown by reference numeral 360, theVSP control infrastructure 104 may transmit, and the second user devicemay receive, the first assigned public key, the first public IP address,and the first meshnet IP address associated with the first user device.As discussed below in further detail, the above transmission of assignedpublic keys, public IP addresses, and meshnet IP addresses may enablethe first user device and/or the second user device to communicatesecurely and privately within the secure mesh network.

As shown by reference numeral 370, the first user device and the seconduser device may communicate with each other to set up a meshnetconnection (e.g., an encrypted medium) for communicating encrypted datain the secure mesh network. To set up the meshnet connection, the firstclient application may utilize the second assigned public key and/or thesecond public IP address to securely (e.g., in encrypted form)communicate with the second user device, and the second clientapplication may utilize the first assigned public key and/or the firstpublic IP address to securely communicate with the first user device. Insome aspects, the first user device and the second user device maysecurely/privately negotiate parameters (e.g., a symmetricencryption/decryption key) associated with the meshnet connection. Insome aspects, the parameters may be randomly generated to provideoptimized security to the communications. In an example, the first userdevice and the second user device may privately negotiate a randomlygenerated symmetric key that is to be utilized by the first user deviceand the second user device for encrypting and decrypting the datacommunicated via the meshnet connection. In some aspects, the symmetrickey may be determined based at least in part on the first assignedpublic key associated with the first user device, the second assignedpublic key associated with the second user device, and/or a randomnumber. Additionally, the first user device and the second user devicemay utilize a secure protocol (e.g., Wireguard, IP sec, etc.) tocommunicate the data via the meshnet connection. Further, the first userdevice and the second user device may start communicating encrypted datavia the meshnet connection based at least in part on utilizing thenegotiated parameters and the secure protocol.

In some aspects, the first user device and the second user device mayestablish meshnet connections with all other endpoints (e.g., the thirduser device and/or the fourth user device shown in FIG. 2 ) included inthe secure mesh network in a similar and/or analogous manner. Also, theother endpoints may establish meshnet connections with all otherendpoints (e.g., the third user device and/or the fourth user device)included in the secure mesh network in a similar and/or analogousmanner. Also, the other endpoints may establish meshnet connections withthe other endpoints included in the secure mesh network in a similarand/or analogous manner.

In some aspects, the first user device and the second user device maypush (e.g., transmit) data to each other. For instance, when the firstuser device has data available for transmission to the second userdevice, the first user device may push a notification to the second userdevice indicating that the first user device wishes to transmit data tothe second user device. In some aspects, the push notification mayidentify the data to be transmitted. Further, based at least in part ontransmitting the push notification, the first user device may transmitthe data to the second user device via the meshnet connection. In someaspects, prior to transmitting the data, the first user device may waitto receive a confirmation message from the second user device indicatingthat the second user device is ready to receive the data. In someaspects, the first user device may transmit the data even when thesecond user device is not included (e.g., temporarily disconnected) inthe secure mesh network. In this case, the first client application maysuspend transmission of the data and may automatically resumetransmission of the data based at least in part on determining that thesecond user device is included (e.g., reconnected) in the secure meshnetwork. The second user device may push data to the first user devicein a similar and/or analogous manner.

In some aspects, the first user device and the second user device maypull (e.g., request) data from each other. For instance, when the firstuser device wishes to receive data from the second user device, thefirst user device may transmit a request to the second user deviceindicating that the first user device wishes to receive data from thesecond user device. In some aspects, the request may identify the datato be received. Further, based at least in part on receiving therequest, the second user device may transmit the data to the first userdevice via the meshnet connection. In some aspects, the first userdevice may transmit the request even when the second user device is notincluded (e.g., temporarily disconnected) from the secure mesh network.In this case, the first client application may suspend transmission ofthe request and may automatically resume transmission of the requestbased at least in part on determining that the second user device isincluded (e.g., reconnected) in the secure mesh network. The second userdevice may pull data from the first user device in a similar and/oranalogous manner.

As shown by reference numeral 380, the first client application maymonitor and route incoming traffic (e.g., received communication) andoutgoing traffic (e.g., transmission communication) associated with thefirst user device. With respect to outgoing traffic, the first clientapplication may intercept and route the outgoing traffic based at leastin part on determining a destination associated with the outgoingtraffic. In some aspects, although the first user device is associatedwith the VPN connection and with the meshnet connections, instead ofrouting all outgoing traffic via the VPN connection, the first clientapplication may determine the destination associated with the outgoingtraffic and may route the outgoing traffic based at least in part on thedetermined destination. The first client application may determine thedestination based at least in part on information indicated in theoutgoing traffic. In some aspects, the outgoing traffic may include atransmission communication (e.g., transmission packet to betransmitted). In an example, the first client application may analyzemetadata associated with the transmission communication to determine thedestination of the transmission communication. In the case that thetransmission communication includes an IP packet, the first clientapplication may analyze header information (e.g., metadata) associatedwith the IP packet and may determine the destination based at least inpart on analyzing a destination IP address included in the headerinformation.

When the first client application determines that the destination of theIP packet is an endpoint within the mesh network, the first clientapplication may route the IP packet to be transmitted to the endpointvia the meshnet connection established between the first user device andthe endpoint. In some aspects, the first client application maydetermine that the destination is an endpoint within the mesh networkbased at least in part on analyzing and determining the destination IPaddress (e.g., destination information) to include a meshnet IP addressassociated with the endpoint. In an example, the first clientapplication may determine that the destination is the second user devicebased at least in part on analyzing and determining the destination IPaddress to include the second meshnet IP address associated with thesecond user device. In another example, the first client application maydetermine that the destination is the second user device based at leastin part on comparing the destination IP address with one or more knownmeshnet IP addresses, and determining that the destination IP addressmatches the second meshnet IP address. In such cases, the first clientapplication may route the IP packet to be transmitted to the second userdevice via the meshnet connection established between the first userdevice and the second user device. In some aspects, the first clientapplication may transmit the IP packet to the second user device basedat least in part on utilizing the negotiated and exchanged parametersand the secure protocol.

Alternatively, when the first client application determines that thedestination of the IP packet is a device other than an endpoint withinthe mesh network, the first client application may route the IP packetto be transmitted to the device via the VPN connection establishedbetween the first user device and the VPN server. In some aspects, thefirst client application may determine that the destination is a deviceother than the endpoint within the mesh network based at least in parton analyzing and determining the destination IP address (e.g.,destination information) to not include the meshnet IP addressassociated with an endpoint. In an example, the first client applicationmay determine that the destination is a device other than the seconduser device (or the third user device or the fourth user device) basedat least in part on analyzing and determining the destination IP addressto not include the second meshnet IP address associated with the seconduser device (or a third meshnet IP address associated with the thirduser device or a fourth meshnet IP address associated with the fourthuser device). In another example, the first client application maydetermine that the destination is a device other than the second userdevice (or the third user device or the fourth user device) based atleast in part on comparing the destination IP address with one or moreknown meshnet IP addresses, and determining that the destination IPaddress fails to match any known meshnet IP address (e.g., the secondmeshnet IP address, the third meshnet IP address, or the fourth meshnetIP address). In such cases, the first client application may route theIP packet to be transmitted to the device other than the second userdevice (or the third user device for the fourth user device) via the VPNconnection established between the first user device and the VPN server.

By utilizing the above systems and techniques associated with enablingefficient communication in a hybrid network, the VSP controlinfrastructure and the client application may avoid all communicationstransmitted by the user device being transmitted via the encryptedtunnel. As a result, the VSP control infrastructure and the clientapplication may enable efficient utilization of VPN resources (e.g.,processing resources, management resources, memory resources, networkbandwidth, power consumption, etc.) to perform suitable tasks associatedwith providing VPN services and/or mesh network services. Additionally,the VSP control infrastructure and the client application may avoidunnecessary addition of a plurality of hops between the user device andthe one or more endpoints, thereby mitigating increase in consumption ofnetwork resources and avoiding introducing a delay in the data beingreceived by the one or more endpoints. The VSP control infrastructureand the client application may also enable optimum utilization ofexisting mesh network resources (e.g., connection between the first userdevice and the second user device) that are dedicated for communicationof data between the user device and the one or more endpoints. Further,a single client application provided by the VSP control infrastructuremay enable the user device to securely communicate data in the meshnetwork and to privately communicate data via the VPN network, therebyenabling conservation of user device resources (e.g., processingresources, memory resources, power consumption, battery life, etc.).

As indicated above, FIG. 3 is provided as an example. Other examples maydiffer from what is described with regard to FIG. 3 .

FIG. 4 is an illustration of an example process 400 associated withenabling efficient communication in a hybrid network, according tovarious aspects of the present disclosure. In some aspects, the process400 may be performed by a memory and/or a processor/controller (e.g.,processing unit 116, processor 920) associated with a user device (e.g.,user device 102) executing a client application. As shown by referencenumeral 410, process 400 may include determining, by a first devicehaving an established virtual private network (VPN) connection with aVPN server and an established meshnet connection with a second device ina mesh network, that a destination associated with a transmission packetto be transmitted by the first device is the second device in the meshnetwork. For instance, the user device may utilize the associated memoryand/or processor to determine, by a first device having an establishedvirtual private network (VPN) connection with a VPN server and anestablished meshnet connection with a second device in a mesh network,that a destination associated with a transmission packet to betransmitted by the first device is the second device in the meshnetwork, as discussed elsewhere herein.

As shown by reference numeral 420, process 400 may include transmitting,by the first device, the transmission packet utilizing the meshnetconnection based at least in part on determining that the destination isthe second device in the mesh network. For instance, the user device mayutilize a communication interface (e.g., communication interface 970)and the associated memory and/or processor to transmit the transmissionpacket utilizing the meshnet connection based at least in part ondetermining that the destination is the second device in the meshnetwork, as discussed elsewhere herein.

Process 400 may include additional aspects, such as any single aspect orany combination of aspects described below and/or in connection with oneor more other processes described elsewhere herein.

In a first aspect, in process 400, determining that the destination isthe second device includes determining that destination information inthe transmission packet includes a meshnet address associated with thesecond device.

In a second aspect, alone or in combination with the first aspect, inprocess 400, determining that the destination is the second deviceincludes comparing destination information in the transmission packetwith a meshnet address associated with the second device.

In a third aspect, alone or in combination with the first through secondaspects, in process 400, transmitting the transmission packet includesencrypting data included in the transmission packet utilizing asymmetric encryption key.

In a fourth aspect, alone or in combination with the first through thirdaspects, process 400 may include communicating with the second device todetermine a symmetric key to be utilized for encrypting or decryptingdata communicated over the meshnet connection.

In a fifth aspect, alone or in combination with the first through fourthaspects, process 400 may include utilizing a single client applicationto establish the VPN connection and the meshnet connection.

In a sixth aspect, alone or in combination with the first through fifthaspects, process 400 may include establishing the VPN connection withthe VPN server; and establishing the meshnet connection with the seconddevice.

Although FIG. 4 shows example blocks of the process, in some aspects,the process may include additional blocks, fewer blocks, differentblocks, or differently arranged blocks than those depicted in FIG. 4 .Additionally, or alternatively, two or more of the blocks of the processmay be performed in parallel.

As indicated above, FIG. 4 is provided as an example. Other examples maydiffer from what is described with regard to FIG. 4 .

FIG. 5 is an illustration of an example process 500 associated withenabling efficient communication in a hybrid network, according tovarious aspects of the present disclosure. In some aspects, the process500 may be performed by a memory and/or a processor/controller (e.g.,processing unit 116, processor 920) associated with a user device (e.g.,user device 102) executing a client application. As shown by referencenumeral 510, process 500 may include determining, by a first devicehaving an established virtual private network (VPN) connection with aVPN server and an established meshnet connection with a second device ina mesh network, a transmission packet to be transmitted by the firstdevice. For instance, the user device may utilize an associatedcommunication interface (e.g., communication interface 970) along withthe memory and/or processor to determine, while having an establishedvirtual private network (VPN) connection with a VPN server and anestablished meshnet connection with a second device in a mesh network, atransmission packet to be transmitted by the first device, as discussedelsewhere herein.

As shown by reference numeral 520, process 500 may include transmitting,by the first device, the transmission packet to the second deviceutilizing the meshnet connection based at least in part on determiningthat a destination associated with the transmission packet is the seconddevice or to the VPN server utilizing the VPN connection based at leastin part on determining that the destination associated with thetransmission packet is a device other than the second device. Forinstance, the user device may utilize an associated communicationinterface (e.g., communication interface 970), memory, and/or processorto transmit the transmission packet to the second device utilizing themeshnet connection based at least in part on determining that adestination associated with the transmission packet is the second deviceor to the VPN server utilizing the VPN connection based at least in parton determining that the destination associated with the transmissionpacket is a device other than the second device, as discussed elsewhereherein.

Process 500 may include additional aspects, such as any single aspect orany combination of aspects described below and/or in connection with oneor more other processes described elsewhere herein.

In a first aspect, process 500 may include determining, by the firstdevice, whether the transmission packet is to be transmitted to thesecond device by utilizing the meshnet connection or to the VPN serverby utilizing the VPN connection based at least in part on metadataincluded in the transmission packet.

In a second aspect, alone or in combination with the first aspect,process 500 may include determining, by the first device, whether thetransmission packet is to be transmitted to the second device byutilizing the meshnet connection or to the VPN server by utilizing theVPN connection based at least in part on a result of comparing adestination address associated with the transmission packet and ameshnet address associated with the second device.

In a third aspect, alone or in combination with the first through secondaspects, process 500 may include determining, by the first device,whether the transmission packet is to be transmitted to the seconddevice by utilizing the meshnet connection or to the VPN server byutilizing the VPN connection based at least in part on determiningwhether a destination address associated with the transmission packetincludes a meshnet address associated with the second device.

In a fourth aspect, alone or in combination with the first through thirdaspects, process 500 may include comparing destination informationassociated with the transmission packet with a meshnet addressassociated with the second device to determine whether the transmissionpacket is to be transmitted to the second device by utilizing themeshnet connection or to the VPN server by utilizing the VPN connection.

In a fifth aspect, alone or in combination with the first through fourthaspects, in process 500, transmitting the transmission packet includestransmitting the transmission packet to the second device or to the VPNserver by utilizing a single client application.

In a sixth aspect, alone or in combination with the first through fifthaspects, in process 500, transmitting the transmission packet to thesecond device includes encrypting the transmission packet by utilizing asymmetric key negotiated between the first device and the second device.

Although FIG. 5 shows example blocks of the process, in some aspects,the process may include additional blocks, fewer blocks, differentblocks, or differently arranged blocks than those depicted in FIG. 5 .Additionally, or alternatively, two or more of the blocks of the processmay be performed in parallel.

As indicated above, FIG. 5 is provided as an example. Other examples maydiffer from what is described with regard to FIG. 5 .

FIG. 6 is an illustration of an example process 600 associated withenabling efficient communication in a hybrid network, according tovarious aspects of the present disclosure. In some aspects, the process600 may be performed by a memory and/or a processor/controller (e.g.,processing unit 116, processor 920) associated with a user device (e.g.,user device 102) executing a client application. As shown by referencenumeral 610, process 600 may include monitoring, by a processorassociated with a first device having an established VPN connection witha VPN server and an established meshnet connection with a second device,transmission of transmission packets to be transmitted by the firstdevice. For instance, the user device may utilize the associated memoryand/or a processor to monitor, while having an established VPNconnection with a VPN server and an established meshnet connection witha second device, communication of transmission packets to be transmittedby the first device, as discussed elsewhere herein.

As shown by reference numeral 620, process 600 may include receiving, bythe processor, a transmission packet to be transmitted by the firstdevice. For instance, the user device may utilize an associatedcommunication interface (e.g., communication interface 970), memory,and/or processor to receive a transmission packet to be transmitted bythe first device, as discussed elsewhere herein.

As shown by reference numeral 630, process 600 may include determining,by the processor, a destination associated with the transmission packetbased at least in part on metadata included in the transmission packet.For instance, the user device may utilize the associated memory and/orprocessor to determine a destination associated with the transmissionpacket based at least in part on metadata included in the transmissionpacket, as discussed elsewhere herein.

As shown by reference numeral 640, process 600 may include routing, bythe processor, the transmission packet for transmission via the VPNconnection or for transmission via the meshnet connection based at leastin part on determining whether the second device is the destinationassociated with the transmission packet. For instance, the user devicemay utilize the associated memory and/or processor to route thetransmission packet for transmission via the VPN connection or fortransmission via the meshnet connection based at least in part ondetermining whether the second device is the destination associated withthe transmission packet, as discussed elsewhere herein.

Process 600 may include additional aspects, such as any single aspect orany combination of aspects described below and/or in connection with oneor more other processes described elsewhere herein.

In a first aspect, in process 600, routing the transmission packetincludes routing the transmission packet for transmission via the VPNconnection based at least in part on determining that the second deviceis not the destination associated with the transmission packet.

In a second aspect, alone or in combination with the first aspect, inprocess 600, routing the transmission packet includes routing thetransmission packet for transmission via the meshnet connection based atleast in part on determining that the second device is the destinationassociated with the transmission packet.

In a third aspect, alone or in combination with the first through secondaspects, in process 600, routing the transmission packet includesutilizing a single client application to route the transmission packetfor transmission via the VPN connection or for transmission via themeshnet connection.

In a fourth aspect, alone or in combination with the first through thirdaspects, in process 600, routing the transmission packet fortransmission via the meshnet connection includes encrypting thetransmission packet by utilizing a symmetric key negotiated between thefirst device and the second device.

In a fifth aspect, alone or in combination with the first through fourthaspects, in process 600, determining that the second device is thedestination associated with the transmission packet includes determiningthat a destination address associated with the transmission packetmatches a meshnet address associated with the second device.

In a sixth aspect, alone or in combination with the first through fifthaspects, in process 600, determining that the second device is thedestination associated with the transmission packet includes determiningthat a destination address associated with the transmission packetincludes a meshnet address associated with the second device.

Although FIG. 6 shows example blocks of the process, in some aspects,the process may include additional blocks, fewer blocks, differentblocks, or differently arranged blocks than those depicted in FIG. 6 .Additionally, or alternatively, two or more of the blocks of the processmay be performed in parallel.

As indicated above, FIG. 6 is provided as an example. Other examples maydiffer from what is described with regard to FIG. 6 .

FIG. 7 is an illustration of an example process 700 associated withenabling efficient communication in a hybrid network, according tovarious aspects of the present disclosure. In some aspects, the process700 may be performed by a memory and/or a processor/controller (e.g.,processing unit 116, processor 920) associated with a user device (e.g.,user device 102) executing a client application. As shown by referencenumeral 710, process 700 may include establishing, by a first device, avirtual private network (VPN) connection with a VPN server. Forinstance, the user device may utilize an associated communicationinterface (e.g., communication interface 970) with the associated memoryand/or a processor to establish a virtual private network (VPN)connection with a VPN server, as discussed elsewhere herein.

As shown by reference numeral 720, process 700 may include establishing,by the first device during the established VPN connection, a meshnetconnection with a second device in a mesh network. For instance, theuser device may utilize the associated communication interface, memory,and/or processor to establish, during the established VPN connection, ameshnet connection with a second device in a mesh network, as discussedelsewhere herein.

As shown by reference numeral 730, process 700 may include determining,by the first device, whether the second device is a destinationassociated with a transmission packet to be transmitted by the firstdevice. For instance, the user device may utilize the associated memoryand/or processor to determine whether the second device is a destinationassociated with a transmission packet to be transmitted by the firstdevice, as discussed elsewhere herein.

As shown by reference numeral 740, process 700 may include transmitting,by the processor, the transmission packet by utilizing the VPNconnection or by utilizing the meshnet connection based at least in parton determining whether the second device is the destination associatedwith the transmission packet. For instance, the user device may utilizethe associated communication interface, memory, and/or processor totransmit the transmission packet by utilizing the VPN connection or byutilizing the meshnet connection based at least in part on determiningwhether the second device is the destination associated with thetransmission packet, as discussed elsewhere herein.

Process 700 may include additional aspects, such as any single aspect orany combination of aspects described below and/or in connection with oneor more other processes described elsewhere herein.

In a first aspect, in process 700, transmitting the transmission packetincludes transmitting the transmission packet by utilizing the VPNconnection based at least in part on determining that the second deviceis not the destination associated with the transmission packet.

In a second aspect, alone or in combination with the first aspect, inprocess 700, transmitting the transmission packet includes transmittingthe transmission packet by utilizing the meshnet connection based atleast in part on determining that the second device is the destinationassociated with the transmission packet.

In a third aspect, alone or in combination with the first through secondaspects, in process 700, transmitting the transmission packet includestransmitting the transmission packet by utilizing the VPN connection orby utilizing the meshnet connection via a single client application.

In a fourth aspect, alone or in combination with the first through thirdaspects, in process 700, transmitting the transmission packet byutilizing the meshnet connection includes encrypting the transmissionpacket by utilizing a symmetric key negotiated between the first deviceand the second device.

In a fifth aspect, alone or in combination with the first through fourthaspects, in process 700, determining that the second device is thedestination associated with the transmission packet includes comparingdestination information associated with the transmission packet with ameshnet address associated with the second device.

In a sixth aspect, alone or in combination with the first through fifthaspects, in process 700, the transmission packet includes metadataindicating the destination associated with the transmission packet.

Although FIG. 7 shows example blocks of the process, in some aspects,the process may include additional blocks, fewer blocks, differentblocks, or differently arranged blocks than those depicted in FIG. 7 .Additionally, or alternatively, two or more of the blocks of the processmay be performed in parallel.

As indicated above, FIG. 7 is provided as an example. Other examples maydiffer from what is described with regard to FIG. 7 .

FIG. 8 is an illustration of an example process 800 associated withenabling efficient communication in a hybrid network, according tovarious aspects of the present disclosure. In some aspects, the process800 may be performed by a memory and/or a processor/controller (e.g.,processing unit 116, processor 920) associated with a VSP controlinfrastructure (e.g., VSP control infrastructure 104). As shown byreference numeral 810, process 800 may include determining, by a firstdevice having an established virtual private network (VPN) connectionwith a VPN server and an established meshnet connection with a seconddevice in a mesh network, a transmission packet to be transmitted by thefirst device. For instance, the VSP control infrastructure may utilizethe associated memory and/or a processor to enable a device todetermine, while having an established virtual private network (VPN)connection with a VPN server and an established meshnet connection witha second device in a mesh network, a transmission packet to betransmitted by the first device, as discussed elsewhere herein.

As shown by reference numeral 820, process 800 may include determining,by the first device, whether the transmission packet is to betransmitted by utilizing the VPN connection or by utilizing the meshnetconnection based at least in part on determining a destinationassociated with the transmission packet. For instance, the VSP controlinfrastructure may utilize the associated memory and/or processor todetermine whether the transmission packet is to be transmitted byutilizing the VPN connection or by utilizing the meshnet connectionbased at least in part on determining a destination associated with thetransmission packet, as discussed elsewhere herein.

Process 800 may include additional aspects, such as any single aspect orany combination of aspects described below and/or in connection with oneor more other processes described elsewhere herein.

In a first aspect, in process 800, determining whether the transmissionpacket is to be transmitted by utilizing the VPN connection or byutilizing the meshnet connection includes determining that thetransmission packet is to be transmitted by utilizing the VPN connectionbased at least in part on determining that the destination associatedwith the transmission packet is a device other than the second device.

In a second aspect, alone or in combination with the first aspect, inprocess 800, determining whether the transmission packet is to betransmitted by utilizing the VPN connection or by utilizing the meshnetconnection includes determining that the transmission packet is to betransmitted by utilizing the meshnet connection based at least in parton determining that the destination associated with the transmissionpacket is the second device.

In a third aspect, alone or in combination with the first through secondaspects, in process 800, determining the destination associated with thetransmission packet includes comparing destination informationassociated with the transmission packet with a meshnet addressassociated with the second device.

In a fourth aspect, alone or in combination with the first through thirdaspects, process 800 may include transmitting, via a single clientapplication, the transmission packet by utilizing the VPN connection orby utilizing the meshnet connection.

In a fifth aspect, alone or in combination with the first through fourthaspects, process 800 may include encrypting, by the first device, thetransmission packet by utilizing a symmetric key negotiated between thefirst device and the second device based at least in part on determiningthat the destination associated with the transmission packet is thesecond device.

In a sixth aspect, alone or in combination with the first through fifthaspects, in process 800, the transmission packet includes metadataindicating the destination associated with the transmission packet.

Although FIG. 8 shows example blocks of the process, in some aspects,the process may include additional blocks, fewer blocks, differentblocks, or differently arranged blocks than those depicted in FIG. 8 .Additionally, or alternatively, two or more of the blocks of the processmay be performed in parallel.

As indicated above, FIG. 8 is provided as an example. Other examples maydiffer from what is described with regard to FIG. 8 .

FIG. 9 is an illustration of example devices 900 associated withenabling efficient communication in a hybrid network, according tovarious aspects of the present disclosure. In some aspects, the exampledevices 900 may form part of or implement the systems, servers,environments, infrastructures, components, devices, or the likedescribed elsewhere herein (e.g., VSP control infrastructure, VPNserver, user device, etc.) and may be used to perform example processesdescribed elsewhere herein. The example devices 900 may include auniversal bus 910 communicatively coupling a processor 920, a memory930, a storage component 940, an input component 950, an outputcomponent 960, and a communication interface 970.

Bus 910 may include a component that permits communication amongmultiple components of a device 900. Processor 920 may be implemented inhardware, firmware, and/or a combination of hardware and software.Processor 920 may take the form of a central processing unit (CPU), agraphics processing unit (GPU), an accelerated processing unit (APU), amicroprocessor, a microcontroller, a digital signal processor (DSP), afield-programmable gate array (FPGA), an application-specific integratedcircuit (ASIC), or another type of processing component. In someaspects, processor 920 may include one or more processors capable ofbeing programmed to perform a function. Memory 930 may include a randomaccess memory (RAM), a read only memory (ROM), and/or another type ofdynamic or static storage device (e.g., a flash memory, a magneticmemory, and/or an optical memory) that stores information and/orinstructions for use by processor 920.

Storage component 940 may store information and/or software related tothe operation and use of a device 900. For example, storage component940 may include a hard disk (e.g., a magnetic disk, an optical disk,and/or a magneto-optic disk), a solid state drive (SSD), a compact disc(CD), a digital versatile disc (DVD), a floppy disk, a cartridge, amagnetic tape, and/or another type of non-transitory computer-readablemedium, along with a corresponding drive.

Input component 950 may include a component that permits a device 900 toreceive information, such as via user input (e.g., a touch screendisplay, a keyboard, a keypad, a mouse, a button, a switch, and/or amicrophone). Additionally, or alternatively, input component 950 mayinclude a component for determining location (e.g., a global positioningsystem (GPS) component) and/or a sensor (e.g., an accelerometer, agyroscope, an actuator, another type of positional or environmentalsensor, and/or the like). Output component 960 may include a componentthat provides output information from device 900 (via, for example, adisplay, a speaker, a haptic feedback component, an audio or visualindicator, and/or the like).

Communication interface 970 may include a transceiver-like component(e.g., a transceiver, a separate receiver, a separate transmitter,and/or the like) that enables a device 900 to communicate with otherdevices, such as via a wired connection, a wireless connection, or acombination of wired and wireless connections. Communication interface970 may permit device 900 to receive information from another deviceand/or provide information to another device. For example, communicationinterface 970 may include an Ethernet interface, an optical interface, acoaxial interface, an infrared interface, a radio frequency (RF)interface, a universal serial bus (USB) interface, a Wi-Fi interface, acellular network interface, and/or the like.

A device 900 may perform one or more processes described elsewhereherein. A device 900 may perform these processes based on processor 920executing software instructions stored by a non-transitorycomputer-readable medium, such as memory 930 and/or storage component940. As used herein, the term “computer-readable medium” may refer to anon-transitory memory device. A memory device may include memory spacewithin a single physical storage device or memory space spread acrossmultiple physical storage devices.

Software instructions may be read into memory 930 and/or storagecomponent 940 from another computer-readable medium or from anotherdevice via communication interface 970. When executed, softwareinstructions stored in memory 930 and/or storage component 940 may causeprocessor 920 to perform one or more processes described elsewhereherein. Additionally, or alternatively, hardware circuitry may be usedin place of or in combination with software instructions to perform oneor more processes described elsewhere herein. Thus, implementationsdescribed herein are not limited to any specific combination of hardwarecircuitry and software.

The quantity and arrangement of components shown in FIG. 9 are providedas an example. In practice, a device 900 may include additionalcomponents, fewer components, different components, or differentlyarranged components than those shown in FIG. 9 . Additionally, oralternatively, a set of components (e.g., one or more components) of adevice 900 may perform one or more functions described as beingperformed by another set of components of a device 900.

As indicated above, FIG. 9 is provided as an example. Other examples maydiffer from what is described with regard to FIG. 9 .

Persons of ordinary skill in the art will appreciate that the aspectsencompassed by the present disclosure are not limited to the particularexemplary aspects described herein. In that regard, althoughillustrative aspects have been shown and described, a wide range ofmodification, change, and substitution is contemplated in the foregoingdisclosure. It is understood that such variations may be made to theaspects without departing from the scope of the present disclosure.Accordingly, it is appropriate that the appended claims be construedbroadly and in a manner consistent with the present disclosure.

The foregoing disclosure provides illustration and description, but isnot intended to be exhaustive or to limit the aspects to the preciseform disclosed. Modifications and variations may be made in light of theabove disclosure or may be acquired from practice of the aspects.

As used herein, the term “component” or “device” is intended to bebroadly construed as hardware, firmware, or a combination of hardwareand software. As used herein, a processor is implemented in hardware,firmware, or a combination of hardware and software.

As used herein, satisfying a threshold may, depending on the context,refer to a value being greater than the threshold, greater than or equalto the threshold, less than the threshold, less than or equal to thethreshold, equal to the threshold, or not equal to the threshold, amongother examples, or combinations thereof.

It will be apparent that systems or methods described herein may beimplemented in different forms of hardware, firmware, or a combinationof hardware and software. The actual specialized control hardware orsoftware code used to implement these systems or methods is not limitingof the aspects. Thus, the operation and behavior of the systems ormethods were described herein without reference to specific softwarecode—it being understood that software and hardware can be designed toimplement the systems or methods based, at least in part, on thedescription herein.

Even though particular combinations of features are recited in theclaims or disclosed in the specification, these combinations are notintended to limit the disclosure of various aspects. In fact, many ofthese features may be combined in ways not specifically recited in theclaims or disclosed in the specification. Although each dependent claimlisted below may directly depend on only one claim, the disclosure ofvarious aspects includes each dependent claim in combination with everyother claim in the claim set. A phrase referring to “at least one of” alist of items refers to any combination of those items, including singlemembers. As an example, “at least one of: a, b, or c” is intended tocover a, b, c, a-b, a-c, b-c, and a-b-c, as well as any combination withmultiples of the same element (for example, a-a, a-a-a, a-a-b, a-a-c,a-b-b, a-c-c, b-b, b-b-b, b-b-c, c-c, and c-c-c or any other ordering ofa, b, and c).

No element, act, or instruction used herein should be construed ascritical or essential unless explicitly described as such. Also, as usedherein, the articles “a” and “an” are intended to include one or moreitems, and may be used interchangeably with “one or more.” Further, asused herein, the article “the” is intended to include one or more itemsreferenced in connection with the article “the” and may be usedinterchangeably with “the one or more.” Furthermore, as used herein, theterm “set” is intended to include one or more items (e.g., relateditems, unrelated items, a combination of related and unrelated items,etc.), and may be used interchangeably with “one or more.” Where onlyone item is intended, the phrase “only one” or similar language is used.Also, as used herein, the terms “has,” “have,” “having,” or the like areintended to be open-ended terms. Further, the phrase “based on” isintended to mean “based, at least in part, on” unless explicitly statedotherwise. Also, as used herein, the term “or” is intended to beinclusive when used in a series and may be used interchangeably with“and/or,” unless explicitly stated otherwise (e.g., if used incombination with “either” or “only one of”).

What is claimed is:
 1. A method, comprising: determining, by a firstdevice having an established virtual private network (VPN) connectionwith a VPN server and an established meshnet connection with a seconddevice in a mesh network, a transmission packet to be transmitted by thefirst device; and transmitting, by the first device, the transmissionpacket to the second device utilizing the meshnet connection instead ofthe established VPN connection based at least in part on determiningthat a destination associated with the transmission packet is the seconddevice or to the VPN server utilizing the VPN connection instead of theestablished meshnet connection based at least in part on determiningthat the destination associated with the transmission packet is a deviceother than the second device.
 2. The method of claim 1, furthercomprising: determining, by the first device, whether the transmissionpacket is to be transmitted to the second device by utilizing themeshnet connection or to the VPN server by utilizing the VPN connectionbased at least in part on metadata included in the transmission packet.3. The method of claim 1, further comprising: determining, by the firstdevice, whether the transmission packet is to be transmitted to thesecond device by utilizing the meshnet connection or to the VPN serverby utilizing the VPN connection based at least in part on a result ofcomparing a destination address associated with the transmission packetand a meshnet address associated with the second device.
 4. The methodof claim 1, further comprising: determining, by the first device,whether the transmission packet is to be transmitted to the seconddevice by utilizing the meshnet connection or to the VPN server byutilizing the VPN connection based at least in part on determiningwhether a destination address associated with the transmission packetincludes a meshnet address associated with the second device.
 5. Themethod of claim 1, further comprising: comparing destination informationassociated with the transmission packet with a meshnet addressassociated with the second device to determine whether the transmissionpacket is to be transmitted to the second device by utilizing themeshnet connection or to the VPN server by utilizing the VPN connection.6. The method of claim 1, wherein transmitting the transmission packetincludes transmitting the transmission packet to the second device or tothe VPN server by utilizing a single client application.
 7. The methodof claim 1, wherein transmitting the transmission packet to the seconddevice includes encrypting the transmission packet by utilizing asymmetric key negotiated between the first device and the second device.8. A first device, comprising: a memory; and a processor communicativelycoupled to the memory, the memory and the processor being configured to:determine, while having an established virtual private network (VPN)connection with a VPN server and an established meshnet connection witha second device in a mesh network, a transmission packet to betransmitted by the first device; and transmit the transmission packet tothe second device utilizing the meshnet connection instead of theestablished VPN connection based at least in part on determining that adestination associated with the transmission packet is the second deviceor to the VPN server utilizing the VPN connection instead of theestablished meshnet connection based at least in part on determiningthat the destination associated with the transmission packet is a deviceother than the second device.
 9. The first device of claim 8, whereinthe memory and the processor are configured to: determine whether thetransmission packet is to be transmitted to the second device byutilizing the meshnet connection or to the VPN server by utilizing theVPN connection based at least in part on metadata included in thetransmission packet.
 10. The first device of claim 8, wherein the memoryand the processor are configured to: determine whether the transmissionpacket is to be transmitted to the second device by utilizing themeshnet connection or to the VPN server by utilizing the VPN connectionbased at least in part on a result of comparing a destination addressassociated with the transmission packet and a meshnet address associatedwith the second device.
 11. The first device of claim 8, wherein thememory and the processor are configured to: determine whether thetransmission packet is to be transmitted to the second device byutilizing the meshnet connection or to the VPN server by utilizing theVPN connection based at least in part on determining whether adestination address associated with the transmission packet includes ameshnet address associated with the second device.
 12. The first deviceof claim 8, wherein the memory and the processor are configured to:compare destination information associated with the transmission packetwith a meshnet address associated with the second device to determinewhether the transmission packet is to be transmitted to the seconddevice by utilizing the meshnet connection or to the VPN server byutilizing the VPN connection.
 13. The first device of claim 8, wherein,to transmit the transmission packet, the memory and the processor areconfigured to transmit the transmission packet to the second device orto the VPN server by utilizing a single client application.
 14. Thefirst device of claim 8, wherein, to transmit the transmission packet tothe second device, the memory and the processor are configured toencrypt the transmission packet by utilizing a symmetric key negotiatedbetween the first device and the second device.
 15. A non-transitorycomputer-readable medium configured to store instructions, which whenexecuted by a processor associated with a first device, cause theprocessor to: determine, while having an established virtual privatenetwork (VPN) connection with a VPN server and an established meshnetconnection with a second device in a mesh network, a transmission packetto be transmitted by the first device; and transmit the transmissionpacket to the second device utilizing the meshnet connection instead ofthe established VPN connection based at least in part on determiningthat a destination associated with the transmission packet is the seconddevice or to the VPN server utilizing the VPN connection instead of theestablished meshnet connection based at least in part on determiningthat the destination associated with the transmission packet is a deviceother than the second device.
 16. The non-transitory computer-readablemedium of claim 15, wherein the processor is configured to: determinewhether the transmission packet is to be transmitted to the seconddevice by utilizing the meshnet connection or to the VPN server byutilizing the VPN connection based at least in part on metadata includedin the transmission packet.
 17. The non-transitory computer-readablemedium of claim 15, wherein the processor is configured to: determinewhether the transmission packet is to be transmitted to the seconddevice by utilizing the meshnet connection or to the VPN server byutilizing the VPN connection based at least in part on a result ofcomparing a destination address associated with the transmission packetand a meshnet address associated with the second device.
 18. Thenon-transitory computer-readable medium of claim 15, wherein theprocessor is configured to: determine whether the transmission packet isto be transmitted to the second device by utilizing the meshnetconnection or to the VPN server by utilizing the VPN connection based atleast in part on determining whether a destination address associatedwith the transmission packet includes a meshnet address associated withthe second device.
 19. The non-transitory computer-readable medium ofclaim 15, wherein the processor is configured to: compare destinationinformation associated with the transmission packet with a meshnetaddress associated with the second device to determine whether thetransmission packet is to be transmitted to the second device byutilizing the meshnet connection or to the VPN server by utilizing theVPN connection.
 20. The non-transitory computer-readable medium of claim15, wherein, to transmit the transmission packet, the processor isconfigured to transmit the transmission packet to the second device orto the VPN server by utilizing a single client application.